package org.example.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.user.domain.UserRole;
import org.example.user.service.UserRoleService;
import org.example.user.mapper.UserRoleMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author scf
* @description 针对表【sys_user_role】的数据库操作Service实现
* @createDate 2024-05-21 20:01:05
*/
@Service
public class UserRoleServiceImpl extends ServiceImpl<UserRoleMapper, UserRole>
    implements UserRoleService{

    @Override
    public String getRoleByUserId(Integer id) {
        return baseMapper.getRoleByUserId(id);
    }
}




